package com.zs.diveinspringbootkotlin

import org.springframework.boot.autoconfigure.SpringBootApplication
import org.springframework.boot.runApplication
import org.springframework.boot.web.servlet.ServletComponentScan

@SpringBootApplication
@ServletComponentScan(basePackages = ["com.zs.diveinspringbootkotlin.web.servlet"])
class DiveInSpringbootKotlinApplication

fun main(args: Array<String>) {
    runApplication<DiveInSpringbootKotlinApplication>(*args)
}